package com.ruoyi.system.domain.quality;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import com.ruoyi.common.annotation.Excel;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.io.Serializable;
import java.util.Date;
import java.math.BigDecimal;
import java.util.List;

import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 检验标准设置对象 quality_defect_setting
 *
 * @author tangjie
 * @date 2023-03-08
 */
@Data
@ToString
@EqualsAndHashCode
@NoArgsConstructor
@Accessors(chain = true)
@TableName("quality_defect_setting")
public class QualityDefectSetting implements Serializable {

private static final long serialVersionUID=1L;


        /** id */
        @TableId(value = "id")
        @ApiModelProperty(value = "id")
        private Long id;

        /** 物料id */
        @Excel(name = "物料id")
        @ApiModelProperty(value = "物料id")
        private Long materialId;

        @Excel(name = "物料名称")
        @ApiModelProperty(value = "物料名称")
        @TableField(exist = false)
        private String materialName;

        /** 场景code */
        @Excel(name = "场景code")
        @ApiModelProperty(value = "场景code")
        private Integer checkScene;

        @Excel(name = "质检场景名称")
        @ApiModelProperty(value = "质检场景名称")
        @TableField(exist = false)
        private String checkSceneName;

        /** 检验项目id */
        @Excel(name = "检验项目id集合新增用")
        @ApiModelProperty(value = "检验项目id集合新增用")
        @TableField(exist = false)
        private List<Long> projectIdList;


        /** 编码 */
        @Excel(name = "编码")
        @ApiModelProperty(value = "编码")
        private String code;

        /** 名称 */
        @Excel(name = "名称")
        @ApiModelProperty(value = "名称")
        private String name;
}
